package Model;

import com.alibaba.fastjson.annotation.JSONField;

public class VueStu {
    @JSONField(ordinal = 1)
    private Integer id;
    @JSONField(ordinal = 2)
    private String name;
    @JSONField(ordinal = 3)
    private Integer age;
    @JSONField(ordinal = 4)
    private String hobit;


    public VueStu() {
    }

    public VueStu(Integer id, String name, Integer age, String hobit) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.hobit = hobit;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return age
     */
    public Integer getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * 获取
     * @return hobit
     */
    public String getHobit() {
        return hobit;
    }

    /**
     * 设置
     * @param hobit
     */
    public void setHobit(String hobit) {
        this.hobit = hobit;
    }

    public String toString() {
        return "VueStu{id = " + id + ", name = " + name + ", age = " + age + ", hobit = " + hobit + "}";
    }
}
